package edu.nf.api.controller.shop;

import edu.nf.api.controller.BaseController;
import edu.nf.vo.ResultVO;
import edu.nf.waimai.dao.shop.impl.ShopAndItemAndItemTypeDAOImpl;
import org.nf.web.annotation.RequestMapping;
import org.nf.web.annotation.RequestParam;
import org.nf.web.servlet.View;
import org.nf.web.servlet.view.JsonView;

public class ListShopAndItemAndIemTypeController extends BaseController {
    @RequestMapping("/shop/getListShopAndItemAndItemType")
    public View listShopAndItemAndItemType(@RequestParam("shopId") int shopId){
        return new JsonView(success(new ShopAndItemAndItemTypeDAOImpl().getShopAndItemAndIemType(shopId)));
    }
}